
    {{--    广告轮播--}}
    <div class="secod-adv">
        <div id="myCarousel" class="carousel inline-block slide" data-ride="carousel">
            <!-- 指示符 -->
            <ul class="carousel-indicators">
                @foreach($adv_article as $articleKey => $articleVal)
                    <li data-target="#myCarousel" data-slide-to="{{ $articleKey }}" class="{{ $articleKey == 0 ? 'active' : '' }}"></li>
                @endforeach
            </ul>

            <!-- 轮播图片 -->
            <div class="carousel-inner">
                @foreach($adv_article as $articlesKey => $articlesVal)
                    <div class="carousel-item {{ $articlesKey == 0 ? 'active' : '' }}">
                        <a href="{{ url('article/details/'.$articlesVal->id) }}">
                            <img src="{{ $articlesVal->list_img_url }}" alt="" />
                            <div>{{ $is_region && isset($articlesVal->region_info) ? '【'.$articlesVal->region_info->region_name.'】' : '' }}{{ $articlesVal->article_title }}</div>
                        </a>
                    </div>
                @endforeach
            </div>

            <!-- 左右切换按钮 -->
            <a class="carousel-control-prev" href="#myCarousel" data-slide="prev">
                <img src="{{ url('/front/img/icon/lunbo_left.png') }}" alt="">
            </a>
            <a class="carousel-control-next" href="#myCarousel" data-slide="next">
                <img src="{{ url('/front/img/icon/lunbo_right.png') }}" alt="">
            </a>
        </div>

        <div class="hot-list">
            <div class="hot-title">热点内容 <span>HOT</span></div>
            @foreach($article as $articlesKey => $articlesVal)
                <a href="{{ url('article/details/'.$articlesVal->id) }}" class="adv-item">
                    {{ $is_region && isset($articlesVal->region_info) ? '【'.$articlesVal->region_info->region_name.'】' : '' }}{{ $articlesVal->article_title }}
                </a>
            @endforeach
        </div>
    </div>


<script>
    $('.carousel').carousel({
        interval: 5000,
        pause: '',
        wrap:true
    })
</script>